
/*****************************************************************************
 *
 * 作   者: 马婷婷 * 创建时间: 2020/12/15 15:45:44 *
 * Copyright (C) 2008 - 鹏业软件公司
 *
 *****************************************************************************/

import {DataPacket, NorDataList} from 'pengesoft-ng-lib';
import {SalaryRecord} from './salary-record.domain';

/**
 * 
 */
export class SalaryRecordsRec extends NorDataList<SalaryRecord> {

  constructor(options: {
    _Items?: Array<SalaryRecord>
  } = {}) {
    super();
    if (options._Items) {
      for (const item of options._Items) {
        this.append(new SalaryRecord(item));
      }
    }
  }
}

/**
 * 列表
 */
export class SalaryRecordsRecList extends NorDataList<SalaryRecordsRec> {

  constructor(options: {
    _Items?: Array<SalaryRecordsRec>
  } = {}) {
    super();
    if (options._Items) {
      for (const item of options._Items) {
        this.append(new SalaryRecordsRec(item));
      }
    }
  }
}
